
<%@ page import="com.casework.auth.AuthUser" %>
<!doctype html>
<html>
    <head>
        <meta name="layout" content="main">
        <g:set var="entityName" value="${message(code: 'authUser.label', default: 'AuthUser')}" />
        <title><g:message code="default.show.label" args="[entityName]" /></title>
    </head>
    <body>
        <a href="#show-authUser" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
<sec:ifAllGranted roles="ROLE_ADMIN">
    <div class="nav" role="navigation">
            <ul>
                <li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
                <li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
            </ul>
        </div>
</sec:ifAllGranted>

        <div id="show-authUser" class="content scaffold-show" role="main">
            <h1><g:message code="default.show.label" args="[entityName]" /></h1>

            <div class="email-message">
                An email was sent to ${authUserInstance.email} with a username= ${authUserInstance.username} and password= ${flash.password}.
            </div>
<sec:ifAllGranted roles="ROLE_ADMIN">
            <g:form>
                <fieldset class="buttons">
                    <g:hiddenField name="id" value="${authUserInstance?.id}" />
                    <g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
                </fieldset>
            </g:form>
</sec:ifAllGranted>

        </div>
    </body>
</html>
